feat(managedBy): explicit engine-owned lifecycle bucket (tracks framework ADR-0103 addendum)#2739
Merged
Merged
Conversation
|
The latest updates on your projects. Learn more about Vercel for GitHub. |
… framework ADR-0103 addendum, #3343) Mirrors the framework's engine-owned enum split in the UI type + runtime + badge. - @object-ui/types: `ManagedByBucket` union + `MANAGED_BY_BUCKETS` gain `'engine-owned'` (closed union → missed consumers are compile errors). - @object-ui/core: `resolveCrudAffordances` DEFAULTS gains the engine-owned all-locked row (same matrix as system/append-only), so isObjectInlineEditable and the grid/form gates treat it read-only automatically. - @object-ui/app-shell: ManagedByBadge renders engine-owned with the same read-only "System-managed" copy as a locked `system` object — reuses the existing `managedByBadge.system` i18n key (zero translation churn; the distinction is at the schema level). resolveManagedByEmptyState reuses the `system` engine-owned empty state. Behaviour-preserving — engine-owned resolves to the same locked affordances a locked `system` object did, so rendering is unchanged; the value just makes the schema self-documenting. New unit coverage across resolveCrudAffordances / isObjectInlineEditable / MANAGED_BY_BUCKETS / the empty-state helper. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
xuyushun441-sys
force-pushed
the
refactor/managedby-engine-owned-bucket
branch
from
July 20, 2026 07:13
1379881 to
14dc786
Compare
Contributor
✅ Console Performance Budget
📦 Bundle Size Report
Size Limits
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Mirrors the framework's
engine-ownedenum split (framework#3352, ADR-0103 addendum, tracking #3343) in the UI type + runtime + badge.What changed (additive)
@object-ui/types—ManagedByBucketunion +MANAGED_BY_BUCKETSgain'engine-owned'(canonical order:platform, config, system, engine-owned, append-only, better-auth). The union stays closed, so any consumer that missed the value is a compile error.@object-ui/core—resolveCrudAffordancesgains theengine-owneddefault row (identical all-locked matrix tosystem/append-only), soisObjectInlineEditableand the grid/form gates treat it read-only automatically.@object-ui/app-shell—ManagedByBadgerendersengine-ownedwith the same read-only "System-managed" copy as a lockedsystemobject. It deliberately reuses the existingmanagedByBadge.systemi18n key — zero translation churn across the 11 locales, consistent UX; the distinction is at the schema level, not the user-facing string.resolveManagedByEmptyStatelikewise reuses thesystemengine-owned empty state.Behaviour-preserving
engine-ownedresolves to the same locked affordances a lockedsystemobject did by default, so nothing about how a locked object renders changes — the value just makes the schema self-documenting. Type-check green across types/core/app-shell/plugin-{form,grid,detail}; core + app-shell suites green (1321); new unit coverage inresolveCrudAffordances/isObjectInlineEditable/MANAGED_BY_BUCKETS/ the empty-state helper.🤖 Generated with Claude Code